.badge,
a.badge {
	background-color: $wcfContentText;
	border-radius: 2px;
	color: $wcfContentBackground;
	display: inline-block;
	line-height: 1.28;
	padding: 2px 6px;
	position: relative;
	vertical-align: middle;
	white-space: nowrap;
	word-wrap: normal;
	
	@include wcfFontSmall;
	
	/* colors */
	&.badgeUpdate {
		background-color: rgba(204, 0, 1, 1);
		color: rgba(255, 255, 255, 1);
		font-weight: 600;
	}
		
	/* default label colors */
	&.green {
		background-color: rgba(0, 153, 0, 1);
		color: rgba(238, 255, 238, 1);
	}
	
	&.red {
		background-color: rgba(204, 0, 0, 1);
		color: rgba(255, 238, 238, 1);
	}
	
	&.black {
		background-color: #333;
		color: #fff;
	}
	
	&.brown {
		background-color: #c63;
		color: #fff;
	}
	
	&.orange {
		background-color: #f90;
		color: #fff;
	}
	
	&.yellow {
		background-color: #ff0;
		color: #333;
	}
	
	&.blue {
		background-color: #369;
		color: #fff;
	}
	
	&.purple {
		background-color: #c0f;
		color: #fff;
	}
	
	&.pink {
		background-color: #f0c;
		color: #fff;
	}
}

a.badge:hover {
	color: $wcfContentBackground;
	text-decoration: none;
	
	&.black {
		background-color: #000;
	}
	
	&.brown {
		background-color: #930;
	}
	
	&.red {
		background-color: #900;
	}
	
	&.orange {
		background-color: #f60;
	}
	
	&.yellow {
		background-color: #cc0;
	}
	
	&.green {
		background-color: #060;
	}
	
	&.blue {
		background-color: #036;
	}
	
	&.purple {
		background-color: #90c;
	}
	
	&.pink {
		background-color: #c09;
	}
}
